package lenfs.util.constants;

public class RPCConst {

	public static final int VERSION = 2;

	public static final int CALL = 0;
	public static final int REPLY = 1;

	public static final int MSG_ACCEPTED = 0;
	public static final int MSG_DENIED = 1;

	public static final int SUCCESS = 0;
	public static final int PROG_UNAVAIL = 1;
	public static final int PROG_MISMATCH = 2;
	public static final int PROC_UNAVAIL = 3;
	public static final int GARBAGE_ARGS = 4;
	public static final int SYSTEM_ERR = 5;

	public static final int RPC_MISMATCH = 0;
	public static final int AUTH_ERROR = 1;

	public static final int AUTH_BADCRED = 1;
	public static final int AUTH_REJECTEDCRED = 2;
	public static final int AUTH_BADVERF = 3;
	public static final int AUTH_REJECTEDVERF = 4;
	public static final int AUTH_TOOWEAK = 5;
}
